package cn.edu.sdu.order.backend.dao;

import cn.edu.sdu.order.backend.model.Shared;
import cn.edu.sdu.order.backend.model.SharedExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SharedMapper {
    long countByExample(SharedExample example);

    int deleteByExample(SharedExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Shared record);

    int insertSelective(Shared record);

    List<Shared> selectByExample(SharedExample example);

    Shared selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Shared record, @Param("example") SharedExample example);

    int updateByExample(@Param("record") Shared record, @Param("example") SharedExample example);

    int updateByPrimaryKeySelective(Shared record);

    int updateByPrimaryKey(Shared record);
}